package com.coodean.mybatis.demo.dao;

import com.coodean.mybatis.demo.entity.Author;
import org.apache.ibatis.annotations.Delete;

/**
 * Created by weichengke on 6/25/17.
 */
public interface AuthorDao {

    int update(Author author);

    @Delete("delete from author where id=#{id}")
    int delete(Long id);
}
